define([
    "app"
],function (app) {
    app.service("attendanceNumberDataService",[
        "$http",
        function ($http) {
            return {
                getTeamAttendanceInfo: function () {
                    return $http({
                        method:"GET",
                        url:requestRootUrl + "api/team-in/all-team-attendance-info"
                    });
                },
                submit: function (data) {
                    return $http({
                        method:"POST",
                        url:requestRootUrl + "api/team-in/attendance-number-submit",
                        data:data
                    });
                }
            }
        }
    ]);
});